package no.progark.golf.activities;

import no.progark.golf.Golf;
import no.progark.golf.R;
import no.progark.golf.controller.BackgroundService;
import no.progark.golf.controller.MainMenuController;
import android.app.Activity;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;

public class MainMenuActivity extends Activity {
	public Golf game;
	
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
			
		
		MainMenuController.setContext(this);
		MainMenuController.setNewGameButton((ImageButton) findViewById(R.id.newGameButton));
		MainMenuController.setOptionsButton((ImageButton) findViewById(R.id.optionsButton));
		MainMenuController.SetExitGameButton((ImageButton) findViewById(R.id.exitButton)); 
		MainMenuController.setTutButton((ImageButton) findViewById(R.id.tutorialButton));
		MainMenuController.setService();
		MainMenuController.setMusic();
		
        
        
      
		
		
		
	}
	
	
}
